package com.terry.test2;

import lombok.Getter;
import lombok.Setter;

/**
 * @author 小八
 * @date 2023年02月01日11:16
 */
public class SendResult {
    @Getter@Setter
    private boolean isSend ;

    public SendResult setFlag(boolean isFlag){
        this.isSend = isFlag;
        return this;
    }

    public static SendResult success() {
        return new SendResult().setFlag(true);
    }

}
